<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body style="font-family:Arial, Helvetica, sans-serif">
<h1>Product List Warehouse May Need BackOrder For Your Shop (V1.0)</h1>
* It has been Sold In here Before (Within One Month)<br />
* Warehouse Current Have "Zero" Qty <br />
* If you want it or have customer request, you may need extra 3~4 Weeks before it arrrives<br />
<table width="800" border="1" cellspacing="1" cellpadding="5">
  <tr>
    <th scope="col">Image</th>
    <th scope="col">Barcode</th>
    <th scope="col">Description</th>
    <th scope="col">Qty| Reason</th>
  </tr>
    <?php 
	$pros = new Model_DbTable_Productsva();
	foreach($this->rList as $k => $v){?>
  <tr>
    <td>
    <?php
    $fileStr = getcwd()."/product_img/home_img/".trim($v["barcode"])."_0.jpg";
	if(file_exists($fileStr)){
	?>
    <img src="/product_img/home_img/<?php echo trim($v["barcode"]) ?>_0.jpg" width="100" height="100"  / >    
    <?php	
		}
	?>
    </td>
    <td><?php echo $v["barcode"] ?></td>
    <td><?php 
    	echo $des = $pros->getProductNameByCode(trim($v["barcode"]));
    	
    ?></td>
    <td>&nbsp;</td>
  </tr>
  <?php }?>
</table>
</body>


</html>
